package com.tianjishuju.cimiss.station.station.model;

import java.text.SimpleDateFormat;
import java.util.Date;

public class UpDateStreamBean {

    private String msg_type;
    private String msg_code;

    private String time;
    private int count;
    private SimpleDateFormat yyyyMMddHHmm = new SimpleDateFormat("yyyy.MM.dd-HH:mm");

    public String getMsg_type() {
        return msg_type;
    }

    public void setMsg_type(String msg_type) {
        this.msg_type = msg_type;
    }

    public String getMsg_code() {
        return msg_code;
    }

    public void setMsg_code(String msg_code) {
        this.msg_code = msg_code;
    }


    public String getTime() {
        return time;
    }

    public void setTime(long time) {
        Date date = new Date(time);
        this.time = yyyyMMddHHmm.format(date);
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
